package com.rabbiter.oes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName(value = "college")
@ApiModel(value = "学院信息表")
public class College {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "学院编号")
    private Integer id;

    @TableField(value = "name")
    @ApiModelProperty(value = "学院名称")
    private String name;
}
